﻿using VigenereCiper.Models;
namespace VigenereCiper
{
    internal class Program
    {
        /// <summary>
        /// 维吉尼亚加密
        /// </summary>
        /// <param name="args"></param>
        static void Main(string[] args)
        {
            //提示输入铭文和密钥
            Console.WriteLine("请输入明文");
            string Plain = Console.ReadLine();
            Console.WriteLine("请输入密钥");
            string Key = Console.ReadLine();
            //根据所给明文密钥形成密文并输出
            Console.Write("密文为");
            Vigenere vig = new Vigenere();
            vig.Encrypt(Plain, Key);
        }
    }
}